package com.xmtlxx.wms.domain.vo;

import com.xmtlxx.common.annotation.ExcelDictFormat;
import com.xmtlxx.common.convert.ExcelDictConvert;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.xmtlxx.system.domain.SysOss;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;


/**
 * 处置明细视图对象 t_deal_dtl
 *
 * @author xmtlxx
 * @date 2022-08-15
 */
@Data
@ApiModel("处置明细视图对象")
@ExcelIgnoreUnannotated
public class DealDtlVo {

    private static final long serialVersionUID = 1L;

    /**
     * 处置明细ID
     */
    @ExcelProperty(value = "处置明细ID")
    @ApiModelProperty("处置明细ID")
    private String id;

    /**
     * 处置记录ID
     */
    @ExcelProperty(value = "处置记录ID")
    @ApiModelProperty("处置记录ID")
    private String dealId;

    /**
     * 物品编号
     */
    @ExcelProperty(value = "物品编号")
    @ApiModelProperty("物品编号")
    private String pno;

    /**
     * 物品名称
     */
    @ExcelProperty(value = "物品名称")
    @ApiModelProperty("物品名称")
    private String name;

    /**
     * 数量
     */
    @ExcelProperty(value = "数量")
    @ApiModelProperty("数量")
    private Long nums;

    /**
     * 处置方式
     */
    @ExcelProperty(value = "处置方式", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "wms_deal_type")
    @ApiModelProperty("处置方式")
    private String dealType;

    /**
     * 图片附件
     */
    @ExcelProperty(value = "图片附件")
    @ApiModelProperty("图片附件")
    private String pics;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "wms_deal_status")
    @ApiModelProperty("状态")
    private String status;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 创建人
     */
    @ExcelProperty(value = "创建人")
    @ApiModelProperty("创建人")
    private String createBy;

    /**
     * 更新时间
     */
    @ExcelProperty(value = "更新时间")
    @ApiModelProperty("更新时间")
    private Date updateTime;

    /**
     * 更新人
     */
    @ExcelProperty(value = "更新人")
    @ApiModelProperty("更新人")
    private String updateBy;

    /**
     * 删除标识
     */
    @ExcelProperty(value = "删除标识", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_del_flag")
    @ApiModelProperty("删除标识")
    private String delFlag;

    /**
     * 仓库ID
     */
    @ExcelProperty(value = "仓库ID")
    @ApiModelProperty("仓库ID")
    private String storeId;

    /**
     * 库区ID
     */
    @ExcelProperty(value = "库区ID")
    @ApiModelProperty("库区ID")
    private String areaId;

    /**
     * 库位ID
     */
    @ExcelProperty(value = "库位ID")
    @ApiModelProperty("库位ID")
    private String locatorId;


    /**
     * 处置单位
     */
    @ApiModelProperty("处置单位")
    private String handleUnitName;

    /**
     * 协助单位
     */
    @ApiModelProperty("协助单位")
    private String helpUnitName;

    /**
     * 处置文书
     */
    @ApiModelProperty("处置文书")
    private String wsPdf;

    private List<SysOss> oss;

    private String character;

    private Date handTime;
    private String contacts;
    private String deptName;
    private String taskNo;
    private String taskId;

    private String judgeTime;
}
